
****** Replication Tables 2-4 for "Explaining Foreign Support for China's Global Economic Leadership," International Organization 
                     ***********------- By J. Lawrence BROZ   Zhiwen ZHANG    Gaoyang WANG --------***********

					 
					 
					 

******** Change this directory to the correct path on your computer:

  use "D:\stata11\ado\personal\broz_zhang_wang_bri_dataset.dta", clear


  

 
  
 ***---------------------------Taking log on GDP PER CAPITA--------------------------------***
 gen lppcgdpsm_a=log(ppcgdpsm_a)
 
 
 
 
 ***----------------------Clean up the data for LEADER IDEOLOGY----------------------------***
 
 replace dpi_ideology_n=. if dpi_ideology_n==-999
 
 
 
 
 
 ***---------------------------------Label Key Variables-----------------------------------***
 la var attendance_4_category  "Attendance (3=Head, 2=Minister, 1=Lower Official, 0=No Attending)"
 
 ***----------------Dependent variables-------------------***
 la var attendance  "DV=ATTENDANCE"
 la var attendance_3_category  "DV=ORDERED ATTENDANCE"
 
  
 ***-------------------Pull variables---------------------***
 la var obor_nations "ONE BELT, ONE ROAD POSITION"
 la var ftas "FTA WITH CHINA"
 la var bits "BIT WITH CHINA"
 
 
 ***-----------------------Push variables-----------------------***
 la var fc_dummy_cumcount_bank_s1_9016 "FINANCIAL CRISES"
 la var ka_open_sd9016 "VARIABILITY OF CAPITAL ACCOUNT POLICY"
 la var mean_portfolio_vol "VOLATILITY OF PORTFOLIO OUTFLOWS"
 
 la var imf_dummy_unrest_index_sum_9017 "SOCIAL UNREST DURING IMF PROGRAMS"
 
 la var wto_cases_cumulcount9516 "WTO COMPLAINTS AGAINST THE U.S."
 
 la var imf_governance_deficit_usd_2015 "IMF GOVERNANCE DEFICIT"
 
 
 
 ***----------------------Control variables-----------------------***
 la var idp_cn_1316  "IDEAL POINT DISTANCE FROM CHINA"
 la var regime_type "REGIME TYPE"
 la var dpi_ideology_n "LEADER IDEOLOGY"
 la var africa "AFRICA DUMMY"
 
 la var rgdppcg_usd2016 "GDP GROWTH"
 la var pgdpsm_a "GDP"  
 la var lppcgdpsm_a "LOG GDPPC"
 
 la var physint_mean_9011 "CIRI HUMAN RIGHTS INDEX"
 
   
  
 
 
 
  
  
 ****-------------------------Table 2   Push and Pull Factors: PROBIT MODEL-------------------------****
      
  probit   attendance  obor_nations, r 
  estimates store Model_1
  
  probit   attendance  obor_nations ftas, r 
  estimates store Model_2
  
  probit   attendance  obor_nations ftas bits, r 
  estimates store Model_3
  
  probit   attendance  obor_nations ftas bits fc_dummy_cumcount_bank_s1_9016, r
  estimates store Model_4
       
  probit   attendance  obor_nations ftas bits ka_open_sd9016, r
  estimates store Model_5
    		
  probit   attendance  obor_nations ftas bits mean_portfolio_vol, r
  estimates store Model_6
	
  probit   attendance  obor_nations ftas bits imf_dummy_unrest_index_sum_9017, r
  estimates store Model_7
  
  probit   attendance  obor_nations ftas bits wto_cases_cumulcount9516, r
  estimates store Model_8
   	  
  probit   attendance  obor_nations ftas bits imf_governance_deficit_usd_2015, r
  estimates store Model_9
  
  
	
	
  estimates tab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9, b p 
 
 
  esttab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9  using Table2_PUSH_PULL_FACTORS_PROBIT_MODEL.txt, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table2_PUSH_PULL_FACTORS_PROBIT_MODEL)  notes nomtitle replace

  esttab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9  using Table2_PUSH_PULL_FACTORS_PROBIT_MODEL.rtf, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table2_PUSH_PULL_FACTORS_PROBIT_MODEL)  notes nomtitle replace

  
  
  
  
    
	****-------------------------Table 3   Push and Pull Factors: ORDERED PROBIT MODEL -------------------------****

  
  oprobit   attendance_3  obor_nations, r 
  estimates store Model_1
  
  oprobit   attendance_3  obor_nations ftas, r 
  estimates store Model_2
  
  oprobit   attendance_3  obor_nations ftas bits, r 
  estimates store Model_3
  
  oprobit   attendance_3  obor_nations ftas bits fc_dummy_cumcount_bank_s1_9016, r
  estimates store Model_4
  
  oprobit   attendance_3  obor_nations ftas bits ka_open_sd9016, r
  estimates store Model_5
      
  oprobit   attendance_3  obor_nations ftas bits mean_portfolio_vol, r
  estimates store Model_6
	
  oprobit   attendance_3  obor_nations ftas bits imf_dummy_unrest_index_sum_9017, r
  estimates store Model_7
  
  oprobit   attendance_3  obor_nations ftas bits  wto_cases_cumulcount9516, r
  estimates store Model_8
   	
  oprobit   attendance_3  obor_nations ftas bits imf_governance_deficit_usd_2015, r
  estimates store Model_9
  
  
   
  
  estimates tab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9, b p 
 
 
  esttab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9  using Table3_PUSH_PULL_FACTORS_ORDERED_PROBIT_MODEL.txt, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table3_PUSH_PULL_FACTORS_ORDERED_PROBIT_MODEL)  notes nomtitle replace

  esttab  Model_1 Model_2 Model_3 Model_4  Model_5 Model_6 Model_7 Model_8 Model_9  using Table3_PUSH_PULL_FACTORS_ORDERED_PROBIT_MODEL.rtf, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table3_PUSH_PULL_FACTORS_ORDERED_PROBIT_MODEL)  notes nomtitle replace

  
    
	

	
	
   
  ***------------------------------------Table 4  Push and Pull Factors: FULL CONTROLS-----------------------------------------***
    
  *****----------------Using PROBIT MODEL------------------******	
  probit   attendance  obor_nations ftas bits fc_dummy_cumcount_bank_s1_9016  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_1
  
  probit   attendance  obor_nations ftas bits ka_open_sd9016  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_2  
  
  probit   attendance  obor_nations ftas bits mean_portfolio_vol  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_3
	
  probit   attendance  obor_nations ftas bits imf_dummy_unrest_index_sum_9017  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_4
  
  probit   attendance  obor_nations ftas bits  wto_cases_cumulcount9516  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_5
   	  
  probit   attendance  obor_nations ftas bits imf_governance_deficit_usd_2015  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_6
  
    
 *****------------------Using ORDERED PROBIT MODEL-------------------******	
  oprobit   attendance_3  obor_nations ftas bits fc_dummy_cumcount_bank_s1_9016  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_7
  
  oprobit   attendance_3  obor_nations ftas bits ka_open_sd9016  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_8
  
  oprobit   attendance_3  obor_nations ftas bits mean_portfolio_vol  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_9
	
  oprobit   attendance_3  obor_nations ftas bits imf_dummy_unrest_index_sum_9017  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_10
  
  oprobit   attendance_3  obor_nations ftas bits  wto_cases_cumulcount9516  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_11
   	
  oprobit   attendance_3  obor_nations ftas bits imf_governance_deficit_usd_2015  idp_cn_1316 regime dpi_ideology_n africa rgdppcg_usd2016  pgdpsm_a  lppcgdpsm_a physint_mean_9011, r
  estimates store Model_12
  
 

	
  
  estimates tab  Model_1 Model_2 Model_3 Model_4 Model_5  Model_6 Model_7 Model_8  Model_9  Model_10  Model_11  Model_12 , b p 
 
 
  esttab    Model_1 Model_2 Model_3 Model_4 Model_5  Model_6 Model_7 Model_8  Model_9  Model_10  Model_11  Model_12 using Table4_PUSH_PULL_FACTORS_FULL_CONTROLS.txt, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table4_PUSH_PULL_FACTORS_FULL_CONTROLS)  notes nomtitle replace

  esttab    Model_1 Model_2 Model_3 Model_4 Model_5  Model_6 Model_7 Model_8  Model_9  Model_10  Model_11  Model_12 using Table4_PUSH_PULL_FACTORS_FULL_CONTROLS.rtf, star(* 0.1 ** 0.05 *** 0.01) con pr2   b(%9.3f) label compress nodep title(Table4_PUSH_PULL_FACTORS_FULL_CONTROLS)  notes nomtitle replace

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  